{ config, lib, pkgs, ... }:

{
  services.xserver.desktopManager.gnome.enable = true;


  services.gnome.gnome-browser-connector.enable = true;
  qt5.platformTheme = "gnome";

  environment = {
    systemPackages = with pkgs; [
      gnome.gnome-tweaks
      # Tiling terminal emulator following the Gnome Human Interface Guidelines
      tilix
      networkmanagerapplet
    ];
    # 不安装的程序
    gnome.excludePackages = with pkgs; [
        gnome.baobab gnome.cheese gnome.eog
        gnome.gnome-calculator gnome.gnome-calendar gnome.gnome-characters
        gnome.gnome-clocks gnome.gnome-contacts gnome.epiphany
        gnome.gnome-font-viewer gnome.gnome-logs gnome.gnome-maps
        gnome.gnome-music gnome-connections
        gnome.simple-scan gnome.totem gnome.yelp
        gnome-photos gnome-console gnome-text-editor
    ];
  };
}
